﻿#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define SIZE 80
#define LIM 100
#define STOP "quit"
int main(){
	int ct = 0;
	char input[LIM][SIZE];
	printf("Enter up to %d lines (type quit to quit):\n", LIM);
	while (ct<LIM&&gets(input[ct])!=NULL&&strcmp(input[ct],STOP)!=0)
	{
		ct++;
	}
	printf("%d strings entered.", ct);
    system("pause");
	return 0;
}
